const Result = require("./result");

const isEmptyObj = (obj) => {
  return Object.keys(obj).length === 0;
}

const isUnEmptyObj = (obj) => {
  return Object.keys(obj).length !== 0;
}

module.exports = {
  isEmptyObj,
  isUnEmptyObj,
  SuccessResult: Result.SuccessResult,
  ErrorResult: Result.ErrorResult,
}